#ifndef DARKHEAP_H
#define DARKHEAP_H
#include <QVector>
#include "darknode.h"
#include <QDebug>
class DarkHeap
{
public:
    DarkHeap();
    void resize(int);
    void push(DarkNode);
    void show();
    QVector<DarkNode> hp;
    int n;
private:
    void swim(int );
    int len;

};

#endif // DARKHEAP_H
